//
// Created by root on 2019/9/26.
//

#ifndef AOA_AOADEV_H
#define AOA_AOADEV_H


#include "AOAaudio.h"
#include "PhoneBase.h"

class AOADev : public PhoneBase {
public:
    bool IsBelong(libusb_device *device, int status) override;

    void handle(libusb_device *device, int status, AOAManager *manager) override;

private:
    enum {
        PID_AOA_ACC = 0x2D00,
        PID_AOA_ACC_ADB = 0x2D01,
        PID_AOA_AU = 0x2D02,
        PID_AOA_AU_ADB = 0x2D03,
        PID_AOA_ACC_AU = 0x2D04,
        PID_AOA_ACC_AU_ADB = 0x2D05,
    };
    shared_ptr<AOAaudio> m_spAudio;
};


#endif //AOA_AOADEV_H
